<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/hash-quadratic.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">hash-quadratic.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="ross_8h_source.html">ross.h</a>&gt;</code><br/>
<code>#include &quot;<a class="el" href="avl__tree_8h_source.html">avl_tree.h</a>&quot;</code><br/>
</div>
<p><a href="hash-quadratic_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a854762ca94b220319ef1c12485880233"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#a854762ca94b220319ef1c12485880233">is_prime</a> (int ptst)</td></tr>
<tr class="separator:a854762ca94b220319ef1c12485880233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dfe488fc33bee5173ad524209d7034b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtw__event.html">tw_event</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#a2dfe488fc33bee5173ad524209d7034b">hash_search</a> (<a class="el" href="structtw__event.html">tw_event</a> **hash_t, <a class="el" href="structtw__event.html">tw_event</a> *evt, int size)</td></tr>
<tr class="separator:a2dfe488fc33bee5173ad524209d7034b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbce82aee57f88a0ef271084bcad2834"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#adbce82aee57f88a0ef271084bcad2834">hash_print</a> (<a class="el" href="structtw__hash.html">tw_hash</a> *h)</td></tr>
<tr class="separator:adbce82aee57f88a0ef271084bcad2834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebe8a594c0fe5a367f194e7ba7e1aa80"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#aebe8a594c0fe5a367f194e7ba7e1aa80">tw_hash_create</a> ()</td></tr>
<tr class="separator:aebe8a594c0fe5a367f194e7ba7e1aa80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e8a48f209c2574ac4755605ac42f773"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#a4e8a48f209c2574ac4755605ac42f773">tw_hash_insert</a> (void *h, <a class="el" href="structtw__event.html">tw_event</a> *event, long <a class="el" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>)</td></tr>
<tr class="separator:a4e8a48f209c2574ac4755605ac42f773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2da87c210aeb3433d50ee3bcb139e20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtw__event.html">tw_event</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#af2da87c210aeb3433d50ee3bcb139e20">tw_hash_remove</a> (void *h, <a class="el" href="structtw__event.html">tw_event</a> *event, long <a class="el" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>)</td></tr>
<tr class="separator:af2da87c210aeb3433d50ee3bcb139e20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a447eca00439943f68b19052ea527fe93"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#a447eca00439943f68b19052ea527fe93">next_prime</a> (int ptst)</td></tr>
<tr class="separator:a447eca00439943f68b19052ea527fe93"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a5894bad487e8493bac923a34f337e844"><td class="memItemLeft" align="right" valign="top">static unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#a5894bad487e8493bac923a34f337e844">ncpu</a> = 1</td></tr>
<tr class="separator:a5894bad487e8493bac923a34f337e844"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a402881288117a11e07e28676329e4bd1"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="hash-quadratic_8c.html#a402881288117a11e07e28676329e4bd1">g_tw_hash_size</a> = 31</td></tr>
<tr class="separator:a402881288117a11e07e28676329e4bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="adbce82aee57f88a0ef271084bcad2834"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void hash_print </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__hash.html">tw_hash</a> *&#160;</td>
          <td class="paramname"><em>h</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00306">306</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>References <a class="el" href="hash-quadratic_8h_source.html#l00014">tw_hash::hash_sizes</a>, <a class="el" href="hash-quadratic_8h_source.html#l00012">tw_hash::incoming</a>, <a class="el" href="hash-quadratic_8c_source.html#l00020">ncpu</a>, and <a class="el" href="hash-quadratic_8h_source.html#l00013">tw_hash::num_stored</a>.</p>

</div>
</div>
<a class="anchor" id="a2dfe488fc33bee5173ad524209d7034b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtw__event.html">tw_event</a> * hash_search </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__event.html">tw_event</a> **&#160;</td>
          <td class="paramname"><em>hash_t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structtw__event.html">tw_event</a> *&#160;</td>
          <td class="paramname"><em>evt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00283">283</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00264">tw_event::event_id</a>, and <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>.</p>

</div>
</div>
<a class="anchor" id="a854762ca94b220319ef1c12485880233"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int is_prime </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ptst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00259">259</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>Referenced by <a class="el" href="hash-quadratic_8c_source.html#l00239">next_prime()</a>, and <a class="el" href="hash-quadratic_8c_source.html#l00032">tw_hash_create()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_a854762ca94b220319ef1c12485880233_icgraph.png" border="0" usemap="#hash-quadratic_8c_a854762ca94b220319ef1c12485880233_icgraph" alt=""/></div>
<map name="hash-quadratic_8c_a854762ca94b220319ef1c12485880233_icgraph" id="hash-quadratic_8c_a854762ca94b220319ef1c12485880233_icgraph">
<area shape="rect" id="node2" href="hash-quadratic_8c.html#a447eca00439943f68b19052ea527fe93" title="next_prime" alt="" coords="126,5,213,32"/><area shape="rect" id="node3" href="hash-quadratic_8h.html#aebe8a594c0fe5a367f194e7ba7e1aa80" title="tw_hash_create" alt="" coords="261,31,376,57"/><area shape="rect" id="node4" href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e" title="tw_pe_init" alt="" coords="425,31,506,57"/><area shape="rect" id="node5" href="network-mpi_8h.html#a625a50a6a03701b067693d7dc5ed483b" title="Starts the network library after option parsing. " alt="" coords="555,31,650,57"/><area shape="rect" id="node6" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03" title="tw_init" alt="" coords="699,31,759,57"/><area shape="rect" id="node7" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="808,31,859,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a447eca00439943f68b19052ea527fe93"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int next_prime </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ptst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00239">239</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>References <a class="el" href="hash-quadratic_8c_source.html#l00259">is_prime()</a>.</p>

<p>Referenced by <a class="el" href="hash-quadratic_8c_source.html#l00032">tw_hash_create()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_cgraph.png" border="0" usemap="#hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_cgraph" alt=""/></div>
<map name="hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_cgraph" id="hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_cgraph">
<area shape="rect" id="node2" href="hash-quadratic_8c.html#a854762ca94b220319ef1c12485880233" title="is_prime" alt="" coords="142,5,213,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_icgraph.png" border="0" usemap="#hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_icgraph" alt=""/></div>
<map name="hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_icgraph" id="hash-quadratic_8c_a447eca00439943f68b19052ea527fe93_icgraph">
<area shape="rect" id="node2" href="hash-quadratic_8h.html#aebe8a594c0fe5a367f194e7ba7e1aa80" title="tw_hash_create" alt="" coords="141,5,256,32"/><area shape="rect" id="node3" href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e" title="tw_pe_init" alt="" coords="305,5,386,32"/><area shape="rect" id="node4" href="network-mpi_8h.html#a625a50a6a03701b067693d7dc5ed483b" title="Starts the network library after option parsing. " alt="" coords="435,5,530,32"/><area shape="rect" id="node5" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03" title="tw_init" alt="" coords="579,5,639,32"/><area shape="rect" id="node6" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="688,5,739,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aebe8a594c0fe5a367f194e7ba7e1aa80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* tw_hash_create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00032">32</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00392">tw_pe::avl_list_head</a>, <a class="el" href="ross-types_8h_source.html#l00393">tw_pe::avl_tree_size</a>, <a class="el" href="ross-global_8c_source.html#l00037">g_tw_avl_node_count</a>, <a class="el" href="hash-quadratic_8c_source.html#l00021">g_tw_hash_size</a>, <a class="el" href="ross-global_8c_source.html#l00075">g_tw_pe</a>, <a class="el" href="hash-quadratic_8h_source.html#l00014">tw_hash::hash_sizes</a>, <a class="el" href="hash-quadratic_8h_source.html#l00012">tw_hash::incoming</a>, <a class="el" href="hash-quadratic_8c_source.html#l00259">is_prime()</a>, <a class="el" href="hash-quadratic_8c_source.html#l00020">ncpu</a>, <a class="el" href="avl__tree_8h_source.html#l00011">avlNode::next</a>, <a class="el" href="hash-quadratic_8c_source.html#l00239">next_prime()</a>, <a class="el" href="hash-quadratic_8h_source.html#l00013">tw_hash::num_stored</a>, <a class="el" href="tw-util_8c_source.html#l00203">tw_calloc()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, and <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>.</p>

<p>Referenced by <a class="el" href="tw-pe_8c_source.html#l00032">tw_pe_init()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_cgraph.png" border="0" usemap="#hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_cgraph" alt=""/></div>
<map name="hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_cgraph" id="hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_cgraph">
<area shape="rect" id="node2" href="hash-quadratic_8c.html#a854762ca94b220319ef1c12485880233" title="is_prime" alt="" coords="309,5,379,32"/><area shape="rect" id="node3" href="hash-quadratic_8c.html#a447eca00439943f68b19052ea527fe93" title="next_prime" alt="" coords="169,56,255,83"/><area shape="rect" id="node4" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="173,107,251,133"/><area shape="rect" id="node9" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="309,157,379,184"/><area shape="rect" id="node10" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="169,208,255,235"/><area shape="rect" id="node5" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="304,56,384,83"/><area shape="rect" id="node7" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="309,107,379,133"/><area shape="rect" id="node6" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="439,56,524,83"/><area shape="rect" id="node8" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="433,132,530,159"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_icgraph.png" border="0" usemap="#hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_icgraph" alt=""/></div>
<map name="hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_icgraph" id="hash-quadratic_8c_aebe8a594c0fe5a367f194e7ba7e1aa80_icgraph">
<area shape="rect" id="node2" href="tw-pe_8c.html#a2a0e6607074d85f80badcf5f5da3547e" title="tw_pe_init" alt="" coords="169,5,250,32"/><area shape="rect" id="node3" href="network-mpi_8h.html#a625a50a6a03701b067693d7dc5ed483b" title="Starts the network library after option parsing. " alt="" coords="299,5,394,32"/><area shape="rect" id="node4" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03" title="tw_init" alt="" coords="443,5,503,32"/><area shape="rect" id="node5" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="552,5,603,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4e8a48f209c2574ac4755605ac42f773"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_hash_insert </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structtw__event.html">tw_event</a> *&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>pe</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00080">80</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00356">tw_kp::avl_tree</a>, <a class="el" href="ross-types_8h_source.html#l00393">tw_pe::avl_tree_size</a>, <a class="el" href="avl__tree_8c_source.html#l00163">avlInsert()</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-global_8c_source.html#l00075">g_tw_pe</a>, <a class="el" href="hash-quadratic_8h_source.html#l00014">tw_hash::hash_sizes</a>, <a class="el" href="hash-quadratic_8h_source.html#l00012">tw_hash::incoming</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="hash-quadratic_8h_source.html#l00004">MAX_FRACTION</a>, <a class="el" href="hash-quadratic_8h_source.html#l00013">tw_hash::num_stored</a>, <a class="el" href="avl__tree_8c_source.html#l00011">pe</a>, <a class="el" href="ross-types_8h_source.html#l00148">tw_statistics::s_avl</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, and <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>.</p>

<p>Referenced by <a class="el" href="network-mpi_8c_source.html#l00329">recv_finish()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_cgraph.png" border="0" usemap="#hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_cgraph" alt=""/></div>
<map name="hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_cgraph" id="hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_cgraph">
<area shape="rect" id="node2" href="avl__tree_8c.html#a8bb2b5a6430ff1464d6065e5cd136a43" title="avlInsert" alt="" coords="183,81,255,108"/><area shape="rect" id="node11" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="165,132,272,159"/><area shape="rect" id="node3" href="avl__tree_8c.html#aa54b2f5f340b60161c61d5c169ee8784" title="avl_alloc" alt="" coords="334,5,407,32"/><area shape="rect" id="node4" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="475,5,544,32"/><area shape="rect" id="node6" href="avl__tree_8c.html#a50f7204680050d273c446d51007858bc" title="avlRebalance" alt="" coords="320,107,421,133"/><area shape="rect" id="node10" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="335,157,407,184"/><area shape="rect" id="node5" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="598,5,695,32"/><area shape="rect" id="node7" href="avl__tree_8c.html#a8a3b9d830a7e822d2246e76c8af213c6" title="avlFixHeight" alt="" coords="599,107,694,133"/><area shape="rect" id="node8" href="avl__tree_8c.html#ad240d5f5dbe910d958769e3778b7215a" title="avlGetHeight" alt="" coords="744,132,843,159"/><area shape="rect" id="node9" href="avl__tree_8c.html#afffb84bcced3f51c3a1c8932ae360983" title="avlRotate" alt="" coords="470,107,549,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_icgraph.png" border="0" usemap="#hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_icgraph" alt=""/></div>
<map name="hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_icgraph" id="hash-quadratic_8c_a4e8a48f209c2574ac4755605ac42f773_icgraph">
<area shape="rect" id="node2" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="165,177,251,204"/><area shape="rect" id="node3" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="299,177,413,204"/><area shape="rect" id="node4" href="network-mpi_8h.html#a29c8b71c5bbcfa0c7a30fc31769be05e" title="starts service_queues() to poll network " alt="" coords="977,107,1071,133"/><area shape="rect" id="node12" href="network-mpi_8h.html#a0f32f17f307a059cd2464da4039729fb" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="461,224,568,251"/><area shape="rect" id="node5" href="ross-gvt_8h.html#a0d905b32b2567dd637c4926872622a70" title="tw_gvt_step2" alt="" coords="1177,81,1277,108"/><area shape="rect" id="node6" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="1345,107,1525,133"/><area shape="rect" id="node9" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="1353,183,1516,209"/><area shape="rect" id="node10" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="1353,255,1516,297"/><area shape="rect" id="node11" href="tw-sched_8c.html#ae7357a99fcf58867f153cb7ab920b400" title="tw_sched_init" alt="" coords="1383,5,1486,32"/><area shape="rect" id="node7" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="1573,183,1635,209"/><area shape="rect" id="node8" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1683,183,1733,209"/><area shape="rect" id="node13" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="616,268,715,295"/><area shape="rect" id="node14" href="tw-event_8c.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="763,312,890,339"/><area shape="rect" id="node15" href="tw-kp_8c.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="961,413,1087,440"/><area shape="rect" id="node18" href="tw-kp_8c.html#a64819ac4aba17987e01bb13142e78c86" title="tw_kp_rollback_event" alt="" coords="950,312,1098,339"/><area shape="rect" id="node20" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="1168,183,1285,209"/><area shape="rect" id="node21" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="939,363,1109,389"/><area shape="rect" id="node16" href="tw-sched_8c.html#a0bb0520414480154343b267735636433" title="tw_sched_event_q" alt="" coords="1161,233,1292,260"/><area shape="rect" id="node17" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="1353,363,1516,405"/><area shape="rect" id="node19" href="tw-sched_8c.html#abe0eb975865f0cde7f2c2e3129bd18d7" title="tw_sched_cancel_q" alt="" coords="1158,335,1295,361"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af2da87c210aeb3433d50ee3bcb139e20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtw__event.html">tw_event</a>* tw_hash_remove </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structtw__event.html">tw_event</a> *&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>pe</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00206">206</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00356">tw_kp::avl_tree</a>, <a class="el" href="ross-types_8h_source.html#l00393">tw_pe::avl_tree_size</a>, <a class="el" href="avl__tree_8c_source.html#l00251">avlDelete()</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-global_8c_source.html#l00075">g_tw_pe</a>, <a class="el" href="hash-quadratic_8h_source.html#l00014">tw_hash::hash_sizes</a>, <a class="el" href="hash-quadratic_8h_source.html#l00012">tw_hash::incoming</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="hash-quadratic_8h_source.html#l00013">tw_hash::num_stored</a>, <a class="el" href="avl__tree_8c_source.html#l00011">pe</a>, <a class="el" href="ross-types_8h_source.html#l00148">tw_statistics::s_avl</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, and <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>.</p>

<p>Referenced by <a class="el" href="network-mpi_8c_source.html#l00329">recv_finish()</a>, and <a class="el" href="tw-eventq_8h_source.html#l00049">tw_eventq_push_list()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_cgraph.png" border="0" usemap="#hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_cgraph" alt=""/></div>
<map name="hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_cgraph" id="hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_cgraph">
<area shape="rect" id="node2" href="avl__tree_8c.html#a0bf2fa317ba41b17cf40a029d0121eae" title="avlDelete" alt="" coords="191,112,268,139"/><area shape="rect" id="node9" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="345,163,415,189"/><area shape="rect" id="node11" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="176,213,283,240"/><area shape="rect" id="node12" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="187,264,272,291"/><area shape="rect" id="node3" href="avl__tree_8c.html#acf331e186c8087aff88ee1f8348a3e25" title="avl_free" alt="" coords="494,5,562,32"/><area shape="rect" id="node4" href="avl__tree_8c.html#a6a4f850cb0ae353f688d2f9953a93d5f" title="avlDeleteMin" alt="" coords="331,61,429,88"/><area shape="rect" id="node5" href="avl__tree_8c.html#a50f7204680050d273c446d51007858bc" title="avlRebalance" alt="" coords="477,93,579,120"/><area shape="rect" id="node6" href="avl__tree_8c.html#a8a3b9d830a7e822d2246e76c8af213c6" title="avlFixHeight" alt="" coords="755,93,850,120"/><area shape="rect" id="node7" href="avl__tree_8c.html#ad240d5f5dbe910d958769e3778b7215a" title="avlGetHeight" alt="" coords="899,119,997,145"/><area shape="rect" id="node8" href="avl__tree_8c.html#afffb84bcced3f51c3a1c8932ae360983" title="avlRotate" alt="" coords="627,93,706,120"/><area shape="rect" id="node10" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="479,163,577,189"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_icgraph.png" border="0" usemap="#hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_icgraph" alt=""/></div>
<map name="hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_icgraph" id="hash-quadratic_8c_af2da87c210aeb3433d50ee3bcb139e20_icgraph">
<area shape="rect" id="node2" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="204,309,289,336"/><area shape="rect" id="node22" href="tw-eventq_8h.html#abcb2f5e59834cc2566395b4732cb2f32" title="tw_eventq_push_list" alt="" coords="176,360,317,387"/><area shape="rect" id="node3" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="366,309,479,336"/><area shape="rect" id="node4" href="network-mpi_8h.html#a29c8b71c5bbcfa0c7a30fc31769be05e" title="starts service_queues() to poll network " alt="" coords="1081,309,1175,336"/><area shape="rect" id="node12" href="network-mpi_8h.html#a0f32f17f307a059cd2464da4039729fb" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="528,240,635,267"/><area shape="rect" id="node5" href="ross-gvt_8h.html#a0d905b32b2567dd637c4926872622a70" title="tw_gvt_step2" alt="" coords="1281,360,1381,387"/><area shape="rect" id="node6" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="1449,339,1629,365"/><area shape="rect" id="node9" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="1457,179,1620,205"/><area shape="rect" id="node10" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="1457,251,1620,293"/><area shape="rect" id="node11" href="tw-sched_8c.html#ae7357a99fcf58867f153cb7ab920b400" title="tw_sched_init" alt="" coords="1487,425,1590,452"/><area shape="rect" id="node7" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="1677,259,1739,285"/><area shape="rect" id="node8" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1787,259,1837,285"/><area shape="rect" id="node13" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="683,215,781,241"/><area shape="rect" id="node14" href="tw-event_8c.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="849,196,975,223"/><area shape="rect" id="node15" href="tw-kp_8c.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="1065,196,1191,223"/><area shape="rect" id="node18" href="tw-kp_8c.html#a64819ac4aba17987e01bb13142e78c86" title="tw_kp_rollback_event" alt="" coords="1054,120,1202,147"/><area shape="rect" id="node20" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="1272,5,1389,32"/><area shape="rect" id="node21" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="1043,247,1213,273"/><area shape="rect" id="node16" href="tw-sched_8c.html#a0bb0520414480154343b267735636433" title="tw_sched_event_q" alt="" coords="1265,208,1396,235"/><area shape="rect" id="node17" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="1457,81,1620,122"/><area shape="rect" id="node19" href="tw-sched_8c.html#abe0eb975865f0cde7f2c2e3129bd18d7" title="tw_sched_cancel_q" alt="" coords="1262,107,1399,133"/><area shape="rect" id="node23" href="tw-eventq_8h.html#a8cee9de44c05a95ae003767f7299d9c4" title="tw_eventq_fossil_collect" alt="" coords="829,360,995,387"/><area shape="rect" id="node24" href="tw-pe_8c.html#a36f9f2e3925202eae4c7cb42f913280c" title="tw_pe_fossil_collect" alt="" coords="1058,360,1198,387"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a402881288117a11e07e28676329e4bd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int g_tw_hash_size = 31</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00021">21</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>Referenced by <a class="el" href="hash-quadratic_8c_source.html#l00032">tw_hash_create()</a>.</p>

</div>
</div>
<a class="anchor" id="a5894bad487e8493bac923a34f337e844"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ncpu = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hash-quadratic_8c_source.html#l00020">20</a> of file <a class="el" href="hash-quadratic_8c_source.html">hash-quadratic.c</a>.</p>

<p>Referenced by <a class="el" href="hash-quadratic_8c_source.html#l00306">hash_print()</a>, and <a class="el" href="hash-quadratic_8c_source.html#l00032">tw_hash_create()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
